{
    title: "Searching for Packages",
    crumbs: [
        { "User's Guide": "index.html" },
    ],
}

            <h1>Searching for Paks</h1>

            <p>Pak uses three catalogs to locate packages:</p>
            <ul>
                <li><a href="http://bower.io/search/">Bower Catalog</a></li>
                <li><a href="http://npmjs.org/">NPM Catalog</a></li>
                <li><a href="http://embedthis.com/catalog/">Pak Catalog</a></li>
            </ul>

            <p>The Bower catalog is for web components. The NPM catalog focusses on the needs of the 
            <a href="http://nodejs.org/">Node.js</a> community. The Pak catalog contains packages for
            <a href="http://embedthis.com/appweb/">Appweb</a>,
            <a href="http://embedthis.com/ejscript/">Ejscript</a>, 
            <a href="http://embedthis.com/esp/">ESP</a>, 
            <a href="http://embedthis.com/expansive/">Expansive</a>, 
            <a href="http://embedthis.com/makeme/">MakeMe</a>, and
            <a href="http://embedthis.com/goahead/">Goahead</a> products. Together they provide over 150,000 packages
            for your use. Using Pak, you can search and install packages from any of these three catalogs and install
            packages directly from their repositories on GitHub.</p>


            <h2>Searching</h2>
            <p>The <em>pak</em> command can search for pacakges and will display a list of the available versions. 
                For example:</p>

            <code>$ <b>pak search bootstrap</b>
    bootstrap 3.3.2 @npm/bootstrap
      versions:
        3.3.2
        3.3.1
        3.3.0
        3.2.0
        3.1.1
        0.0.2
        0.0.1
</code>
            <h3>Partial Name Searches</h3>
            <p>If an exact package name is found when searching, only that pacakge will be displayed. 
            If an exact match cannot be found, then all the catalogs will be queried for potential 
            matching packages that contain the specified name as part of the pacakge name. For example, 
            to search for all <em>esp</em> packages:</p>
            <code>pak search esp-</code>

            <h2>Browse the Catalogs</h2>
            <p>Each package catalogs provides a web portal for you to conveniently search for packages to install.</p>

            <a class="ui primary right labeled icon button"
                href="https://embedthis.com/catalog/#/">
                <i class="right long arrow icon"></i>Browse the Pak Catalog
            </a>
            <a class="ui green right labeled icon button"
                href="https://bower.io/search/">
                <i class="right long arrow icon"></i>Browse the Bower Catalog
            </a>
            <a class="ui red right labeled icon button"
                href="https://npmjs.org/">
                <i class="right long arrow icon"></i>Browse the NPM Catalog
            </a>




